﻿IGAS_STUDIO_DB.FileDB = {
	TestAddon = {
		0 = {
			Type = "Toc"
			Name = "TestAddon",
			Version = 1,		
		}
		1 = {
			Type = "Folder"
			Name = "Localization"
			1 = {
				Type = "Localization"
				Name = "enUS"
				Content = [[
					local L = IGAS:NewLocal("TestAddon", "enUS", true)
				]]
			}		
		}
		2 = {
			Type = "Folder"
			Name = "Script"
			1 = {
				Type = "Script"
				Name = "FunctionLib"
				Content = [[
					local addon = IGAS:NewAddon("TestAddon")
					
					function print(msg)
						IGAS:Print("[TestAddon]"...msg)
					end
				]]
			}
		}
		3 = {
			Type = "Folder"
			Name = "Wdiget"
			1 = {
				Type = "Widget"
				Name = "List"
				Content = [[
					local IGAS = IGAS
				]]
			}
		}
		4 = {
			Type = "Folder"
			Name = "Frame"
			1 = {
				Type = "Frame"
				Name = "MainFrame"
				Designer = [[
					local addon = IGAS:NewAddon("TestAddon")
					local CreateFrame = IGAS.GUI.CreateFrame
					
					frmMain = CreateFrame("Form", "TestAddon_Main")
					frmMain.Height = 500
					frmMain.Width = 500
				]]
				Script = [[
					local addon = IGAS:NewAddon("TestAddon")
					
					functiom frmMain:OnHide()
						self:Dispose()
					end
				]]
			}
		}
		5 = {
			Type = "Script"
			Name = "TestAddon"
			Content = [[
				local addon = IGAS:NewAddon("TestAddon")
			]]
		}
	}
}